#ifndef __PORT_H__
#define __PORT_H__
#include "FUSB302_UFP.h"
#include "def.h"
void puStdPrint(char *str);
uint16_t puClockMs(void);
FUSB302_ret_t puDelayMs(uint32_t ms);
void fusb302PortInit(void);
FUSB302_ret_t fusb302I2cRead(uint8_t dev_addr, uint8_t reg_addr, uint8_t *data, uint8_t count);
FUSB302_ret_t fusb302I2cWrite(uint8_t dev_addr, uint8_t reg_addr, uint8_t *data, uint8_t count);
uint8_t fusb302IntPin(void);
#endif
